package com.huike.business.mapper;

import java.util.List;

import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商机跟进记录Mapper接口
 *
 * @date 2021-04-28
 */
@Mapper
public interface TbBusinessTrackRecordMapper {
    /**
     * 商机跟进记录列表
     *
     * @param businessId
     * @return
     */
    List<TbBusinessTrackRecord> selectBusinessRecrod(long businessId);

    List<String> selectkeys(@Param(value = "keys") String[] keys);

    /**
     * 新增商机跟进记录
     */
    int insertTbBusinessRecord(BusinessTrackVo businessTrackVo);

    int updateBusiness(BusinessTrackVo businessTrackVo);

}